/**
 * @author: HenryDai
 * @Date: 2022/04/29 13:31
 * @description:
 */
public class SoldOutState implements State{

    @Override
    public void insertCoins(VendingMachine machine) {
        System.out.println("操作错误: 售罄状态, 不许允许投币");
    }

    @Override
    public void backCoins(VendingMachine machine) {
        System.out.println("操作错误: 售罄状态, 不许允许退钱");
    }

    @Override
    public void pressButton(VendingMachine machine) {
        System.out.println("操作错误: 售罄状态, 不许允许按键");
    }

    @Override
    public void distributeGood(VendingMachine machine) {
        System.out.println("操作错误: 售罄状态, 不许允许发放商品");
    }
}
